package org.rency.mq.activemq.service;

import org.rency.mq.activemq.exception.MQException;
import org.rency.mq.activemq.request.MQRequest;

public interface MQAccessor {

	void sendMessage(MQRequest request) throws MQException;

	Object receiveMessage(int actionId) throws MQException;

	Object receiveMessage(int actionId, boolean transacted, int acknowledgeMode, String selector) throws MQException;
}
